<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="../common.jsp" %>
<script type="text/javascript">
	$(document).ready(function(){		
		setWorkFlowURL('<c:out value="${flowExecutionUrl}" />');
// 		showDocumentLookUpDialog();
// 		setRequestingPageForDocLookup('restricted');
		updateDocumentLookupFilters('linkingDelinking');
	});

	
</script>
<div style="width: 95%; margin: auto;">
	<table>
		<tr>
			<td> 
				<button class="formButton ui-corner-all" type="button" onclick="javascript:setRequestingPageForDocLookup('restricted');">
					<img alt="" height="15" src='<c:url value="/customTheme/Icons/BlueLotus_DMS_icons-11.png" />'> &nbsp; DOCUMENT LOOKUP
				</button>
			</td>
		</tr>
	</table>
	<br/>
	<table class="viewDetails">
		<tr class="heading">
			<th>Name</th>
			<th>Type</th>
			<th>Category</th>
			<th>Sub Category<input type="hidden" id="searchDocId" name="searchDocId"></input></th>
			<th>Link Document(s) </th>
		</tr>
		<tr class="even">
			<td>
				<input type="text" id="searchedDocName" name="searchedDocName" readonly="readonly" class="input disableInputField text"></input>
			</td>
			<td>
				<input type="text" id="searchDocTypeID" name="docTypeID" readonly="readonly" class="input disableInputField text"></input>
			</td>
			<td>
				<input type="text" id="searchDocCatID" name="docCatID" readonly="readonly" class="input  disableInputField text"></input>
			</td>
			<td>
				<input type="text" id="searchDocSubCatID" name="docSubCatID" readonly="readonly" class="input  disableInputField text"></input>
			</td>	
			<td align="center">
				<input type="button" class="formButton" value="Link Documents" onclick="javascript:viewDocument()"></input>
				<%-- <img alt="" height="40" src="<c:url value="/search.png"></c:url>" onclick="javascript:viewDocument()"> --%>
			</td>		
		</tr>
	</table>
</div>
